#!/bin/bash


sleep 30

while true
do
   cmd1=`ps -aux | grep 'voltage_control.sh' |grep -v grep|awk '{print $2}'`
    if [ "${cmd1}" = '' ];
    then
        systemctl start voltage_control.service
    fi
    sleep 10
done 

exit 0


